simplify validate.json