Update jackson serialization strategy to correctly work for both numeric and non numeric enums