code: def dict_list_to_json(dict_list, fname):
      """
      Dump a list of Python dictionaries to JSON file
  
      Args:
          dict_list (list of dict): List of Python dictionaries
          fname (str): Output file name
  
      """
      with open(fname, "a") as f:
          for dict in dict_list:
              json.dump(dict, f)
              f.write("\n")
  
file_path: GraphGym/graphgym/utils/io.py
imports: import ast
  import json
  import os
  import shutil
label_desc: Use image node_id 3 for calling a global function with example usage: dict_list_to_json(dict_list, fname) without return types