code: def api_string_add(self, found_list, api_strings, val):
      for api_string in api_strings:
          if "api_name" not in api_string:
              continue
          api_name = api_string["api_name"]
          api_string["api_name:" + api_name] = ""
          api_name = api_string.pop("api_name")
          found_list[json.dumps(sorted(list(api_string)))] += val
          api_string["api_name"] = api_name
  
file_path: ParlAI/projects/tod_simulator/scripts/get_passing_only.py
imports: from collections import defaultdict
  from copy import deepcopy
  import json
  import sys
  from shutil import copyfile
  from parlai.core.params import ParlaiParser
  from parlai.core.script import ParlaiScript, register_script
  from parlai.core.tod.tod_core import STANDARD_DONE
  from parlai.utils.io import PathManager
  from parlai.core.tod.tod_core import SerializationHelpers
label_desc: Use image node_id 3 for calling the GetPassingOnlyScript obj's underlying member method code with example usage: obj.api_string_add(found_list, api_strings, val) without return types