Simplifying injection of ObjectMapper in Jersey and resources