Move JSON coercions to constraint.coerce.json