code: public void init()
    {
      AnnotationIntrospector introspector = new JaxbAnnotationIntrospector();
      jsonMapper.setAnnotationIntrospector(introspector);
      // the json should be as compact as possible in the database
      jsonMapper.configure(SerializationConfig.Feature.INDENT_OUTPUT,
        false);
    }
docs: Called when Spring configuration finished