code: public <T extends OmiseObject> T deserializeFromMap(Map<String, Object> map, TypeReference<T> ref) {
          return objectMapper.convertValue(map, ref);
      }
docs: Deserialize an instance of the given type reference from the map.
  
  @param map The {@link Map} containing the JSON structure to deserialize from.
  @param ref The {@link TypeReference} of the type to deserialize the result into.
  @param <T> The type to deserialize the result into.
  @return An instance of the given type T deserialized from the map.