@@ -0,0 +1,900 @@
+package com.redhat.ipaas.rest;%0A%0Aimport com.fasterxml.jackson.annotation.JsonInclude;%0Aimport com.fasterxml.jackson.databind.ObjectMapper;%0Aimport com.fasterxml.jackson.datatype.jdk8.Jdk8Module;%0A%0Aimport javax.ws.rs.Produces;%0Aimport javax.ws.rs.core.MediaType;%0Aimport javax.ws.rs.ext.ContextResolver;%0Aimport javax.ws.rs.ext.Provider;%0A%0A// Customized %7B@code ContextResolver%7D implementation to pass ObjectMapper to use%0A@Provider%0A@Produces(MediaType.APPLICATION_JSON)%0Apublic class JacksonContextResolver implements ContextResolver%3CObjectMapper%3E %7B%0A    private ObjectMapper objectMapper;%0A%0A    public JacksonContextResolver() throws Exception %7B%0A        this.objectMapper = new ObjectMapper().%0A            registerModule(new Jdk8Module()).%0A            setSerializationInclusion(JsonInclude.Include.NON_EMPTY);%0A    %7D%0A%0A    public ObjectMapper getContext(Class%3C?%3E objectType) %7B%0A        return objectMapper;%0A    %7D%0A%7D%0A

Add configured Jackson2 ObjectMapper