Add missing ObjectMapper.writeTree(); improve DelegatingDeserializer