code: public static <T> T getRestApiResponseAsObject(String uri,
              TypeReference<T> typeReference) {
          return JMJson.withJsonResource(getResponseAsString(uri), typeReference);
      }
docs: Gets rest api response as object.
  
  @param <T>           the type parameter
  @param uri           the uri
  @param typeReference the type reference
  @return the rest api response as object