code: public static <T> T withBytes(byte[] bytes,
              TypeReference<T> typeReference) {
          try {
              return jsonMapper.readValue(bytes, typeReference);
          } catch (Exception e) {
              return JMExceptionManager.handleExceptionAndReturnNull(log, e,
                      "withBytes", new String(bytes));
          }
      }
docs: With bytes t.
  
  @param <T>           the type parameter
  @param bytes         the bytes
  @param typeReference the type reference
  @return the t