ObjectMapper mapper = new ObjectMapper();
SimpleModule module = new SimpleModule( "MyModule", new org.codehaus.jackson.Version( 1, 0, 0, null ) );
module.addSerializer( Version.class, new VersionSerializer() );
module.addSerializer( Project.class, new ProjectSerializerForDependencyNodeWrapper() );
module.addSerializer( DependencyNodeWrapper.class, new DependencyNodeWrapperSerializer() );
mapper.registerModule( module );
String value = "";