added validatesJSONOf