Added a json format validator.