Move enum parameter with Jackson annotation into a dedicated test class

This is required to be able to run jongo-extras tests