@SuppressWarnings("unused")
 public static ObjectMapper buildObjectMapperForDeserialization() {
   final ObjectMapper mapper = new ObjectMapper();
   InventoryJacksonConfig.configure(mapper);
   mapper.addMixIn(CanonicalPath.class, CanonicalPathMixin.class);
   return mapper;
 }
 @Override
 protected ObjectMapper buildObjectMapperForSerialization() {
   final ObjectMapper mapper = new ObjectMapper();
   InventoryJacksonConfig.configure(mapper);
   mapper.addMixIn(CanonicalPath.class, CanonicalPathMixin.class);
   return mapper;
 }