code: def save_json(path, obj):
      """Save Python object to a json file.
  
      Args:
          path: String. The path to the json file.
          obj: Object. The Python object to be saved.
  
      Returns:
          The json string format of the object.
      """
      obj_str = json.dumps(obj)
      with backend.io.File(path, "w") as f:
          f.write(obj_str)
      return obj_str
  
file_path: keras-tuner/keras_tuner/utils.py
imports: import json
  from keras_tuner import backend
  from keras_tuner.backend import keras
label_desc: Use image node_id 6 for calling a global function with example usage: save_json(path, obj) and returns: obj_str