Just json fix

Fix for JsonUtils.prettyPrint method ( there was a problem with empty json object)
node *is* an ObjectNode based on the arguments to objectToString, why is this being checked?