Checks JSON fields types