code: private void writeTable(SerIterator itemIterator) throws IOException {
          output.writeArrayStart();
          while (itemIterator.hasNext()) {
              itemIterator.next();
              output.writeArrayItemStart();
              output.writeArrayStart();
              output.writeArrayItemStart();
              writeObject(itemIterator.keyType(), itemIterator.key(), null);
              output.writeArrayItemStart();
              writeObject(itemIterator.columnType(), itemIterator.column(), null);
              output.writeArrayItemStart();
              writeObject(itemIterator.valueType(), itemIterator.value(), itemIterator);
              output.writeArrayEnd();
          }
          output.writeArrayEnd();
      }
docs: write table