Correct a factoring error + add a custom mapper to spring mvc for custom enumeration (de)serialisation