code: def json2csv(fp_json, fp_csv):
      """
      Standard AE RE.
      .json -> .csv
      """
      with open(fp_json, encoding="utf-8") as f1:
          lines = json.load(f1)
          fieldnames = lines[0].keys()
          with open(fp_csv, "w", encoding="utf-8") as f2:
              writer = csv.DictWriter(f2, fieldnames=fieldnames)
              writer.writeheader()
              writer.writerows(lines)
  
file_path: DeepKE/src/deepke/transform_data.py
imports: import csv
  import json
  import xlrd2
  import docx
label_desc: Use image node_id 1 for calling a global function with example usage: json2csv(fp_json, fp_csv) without return types