code: protected <C> C convert(Object object, Class<C> targetClass) {
          return this.mapper.convertValue(object, targetClass);
      }
docs: convert object into another class using the JSON mapper
  
  @param <C>         the generic target type
  @param object      the object to convert
  @param targetClass the class of the target object
  @return the converted object
  @throws IllegalArgumentException if conversion fails