@JacksonAnnotation is unneeded.
Add annotation to mark enum values to be serialized and deserialized as ints.