docs: @Override
      protected void writeToOutput(final Map<String, Object> row)
              throws IOException {
          if (generator == null) {
              ObjectMapper mapper = new ObjectMapper();
              JsonFactory factory = new JsonFactory(mapper);
              generator = factory.createGenerator(getWriter());
              generator.writeStartArray(); // [
          }
  
          // Convert the row into a map
          generator.writeObject(row);
      }