Fix enum types in JSON schemas.