public void afterPropertiesSet() throws Exception
{
if(objectMapper == null)
objectMapper = new ObjectMapper();
objectMapper.setSerializerFactory(new SchemaBeanSerializerFactory(null));
objectMapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);
}