class JacksonRepresentationFactory {

    public <T> JacksonRepresentation<T> create(T object) {
        JacksonRepresentation<T> representation = new JacksonRepresentation<>(object);
        representation.setObjectMapper(objectMapper);
        return representation;
    }

    @Inject public  JacksonRepresentationFactory(ObjectMapper objectMapper);

}