code: def parse_args():
      parser = ArgumentParser()
      parser.add_argument(
          "--data_folder",
          help="Path to data folder with the CPP data files",
          type=str,
          required=True,
      )
      parser.add_argument(
          "--output_folder",
          help="Path to data folder with output .json file to store the data",
          type=str,
          required=True,
      )
      return parser.parse_args()
  
imports: import json
  from argparse import ArgumentParser
  from collections import defaultdict
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: parser