add getJsonSchemaString for better json output for php 5.3