Build validator to validate JSON Object