private static <T> LogDataToJsonConverter<T> wrapIntoNullableConverter(
      LogDataToJsonConverter<T> converter) {
    return (source, context) -> {
      if (source == null) {
        return context.mapper.getNodeFactory().nullNode();
      }
      return converter.convert(source, context);
    };
  }
Runtime converter that converts {@link LogData} into {@link JsonNode}

@param <T> indicate an actual value wrapped within {@link LogData}
amoro-format-iceberg/src/main/java/org/apache/amoro/log/LogDataToJsonConverters.java