Added a JSON validator.