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