Use injection and mixins to do Jackson (de)serialization