JSON Validator and Formatter