Added a JSON validator