String toJsonString(Object object) throws IOException {
JsonFactory jsonFactory = httpClient.createJsonFactory();
StringWriter writer = new StringWriter();
JsonGenerator jsonGenerator = jsonFactory.createJsonGenerator(writer);
jsonGenerator.useDefaultPrettyPrinter();
jsonGenerator.writeObject(object);
String result = writer.getBuffer().toString();
return result;
}
private void verifyNonNumericBuildNumber(String buildNumber) {