Fix pretty print bug

Fix for JsonUtils.prettyPrint method ( there was a problem with empty json object)