Special casing enums in ObjectConverterFactory