for (Map.Entry<String, String> configEntry : config.entrySet()) {
jsonConfig = jsonConfig.concat(String.format("%s \"%s\":\"%s\"", separator, configEntry.getKey(), configEntry.getValue()));
separator = ",";
}
jsonConfig = jsonConfig.concat("}");
connection.execute(new ConfigAdd(appName, jsonConfig), apiKey);
}