code: def to_json(self, **kwargs):
      from interpret.newapi.serialization import ExplanationJSONEncoder
  
      version = "0.0.1"
      di = {
          "version": version,
          "content": self,
      }
  
      return json.dumps(di, cls=ExplanationJSONEncoder, **kwargs)
  
file_path: interpret/python/interpret-api/interpret/newapi/explanation.py
imports: import json
  from slicer import Slicer
  from interpret.newapi.component import Component
label_desc: Use image node_id 8 for calling the Explanation obj's underlying member method code with example usage: obj.to_json() and returns: json