code: def add_data(
      filename, filtered_data, fieldname, valid_old_key_to_new_key
  ):
      with open(filename, "r") as f:
          objects = ijson.kvitems(f, fieldname)
          filtered_data[fieldname] = {
              valid_old_key_to_new_key[key]: query
              for key, query in objects
              if key in valid_old_key_to_new_key
          }
  
imports: import argparse
  import json
  from ast import literal_eval
  import ijson
label_desc: Use image node_id 2 for calling a global function with example usage: add_data(filename, filtered_data, fieldname, valid_old_key_to_new_key) without return types