@Override
  public JsonObjectBuilder buildJsonObjectBuilder() throws NullPointerException {
    JsonObjectBuilder builder = Json.createObjectBuilder();
    builder
        .add("file", file == null ? "NC" : file)
        .add("name", appName == null ? "NC" : appName)
        .add("appPackage", appPackage == null ? "NC" : appPackage)
        .add("appActivity", appActivity == null ? "NC" : appActivity)
        .add("automationName", automationName == null ? "NC" : automationName)
        .add("appWorkingDir", appWorkingDir == null ? "NC" : appWorkingDir)
        .add("fullReset", fullReset == null ? false : false);
    return builder;
  }
Constructs a new App with a given App.

@param app given App object
KITE-Framework/src/main/java/org/webrtc/kite/config/client/App.java