GRAS-1095: Added json validation.