code: def write_json(data, path):
      return write_file(json.dumps(data, indent=2), path)
  
file_path: jiant/jiant/utils/python/io.py
imports: import os
  import glob
  import json
label_desc: Use image node_id 4 for calling a global function with example usage: write_json(data, path) and returns: write_file