code: def export(self, node):
          
          dictexporter = self.dictexporter or DictExporter()
          data = dictexporter.export(node)
          return json.dumps(data, **self.kwargs)
docs: Return JSON for tree starting at `node`.