Validated the json.