code: def extract_account_ids(json_obj):
      """Traverses JSON object until account_ids are found under 'registries'."""
      if isinstance(json_obj, dict):
          for key, value in json_obj.items():
              if key == "registries" and isinstance(value, dict):
                  account_ids.update(value.values())
              else:
                  extract_account_ids(value)
      elif isinstance(json_obj, list):
          for item in json_obj:
              extract_account_ids(item)
  
label_desc: Use image node_id 1 for calling a global function with example usage: extract_account_ids(json_obj) without return types