private static Object toJson(JsonObject obj, JsonBuilderFactory factory) {
		return obj.toJson(factory.createJsonBuilder());
	}
private static Object toJson ( JsonObject obj , JsonBuilderFactory factory ) { return obj . toJson ( factory . createJsonBuilder ( ) ) ; }
Converts a {@link JsonObject} to a JSON string
@param obj the object to convert
@param factory a factory used to create JSON builders
@return the JSON string