private Object convertToBytes(JsonNode jsonNode, Void context) {
    try {
      return jsonNode.binaryValue();
    } catch (IOException e) {
      throw new JsonParseException("Unable to deserialize byte array.", e);
    }
  }
Converter to convert {@link JsonNode} to log data.

@param <T> to indicate the log data type
amoro-format-iceberg/src/main/java/org/apache/amoro/log/JsonToLogDataConverters.java