code: @Override
      public void newDoc() throws IOException {
          sb = new StringBuilder();
          baos = new ByteArrayOutputStream();
          generator = jsonFactory.createJsonGenerator(baos);
          generator.writeStartObject(); 
      }
docs: /*
  @see com.marklogic.contentpump.DocBuilder#newDoc()