finished utils validateJSONbody()