Add a paramvalidator constraint for JSON fields