docs: public static <T> String toJson(T t) {
          if (Objects.isNull(t)) {
              log.warn("t is blank. ");
              return "";
          }
          try {
              return OBJECT_MAPPER.writeValueAsString(t);
          } catch (Exception e) {
              log.error(e.getMessage(), e);
              return "";
          }
      }