As a workaround, I got it working by implementing a custom type and placing the `@Type(...)` annotation on the enumeration attribute as described here.