code: def to_json(self):
      word_dict_json = json.dumps(self.word_dict, cls=MyEncoder)
      return word_dict_json
  
file_path: scattertext/scattertext/viz/VizDataAdapter.py
imports: import json
  import sys
  import numpy
  from scattertext import AsianNLP, WhitespaceNLP
label_desc: Use image node_id 6 for calling the VizDataAdapter obj's underlying member method code with example usage: obj.to_json() and returns: word_dict_json