code: public static <T> Map<String, Object> transformToMap(T object) {
          return transform(object, MAP_TYPE_REFERENCE);
      }
docs: Transform to map map.
  
  @param <T>    the type parameter
  @param object the object
  @return the map