code: def parse_json(json_file):
      """Parses a JSON file into a dictionary of documentation items."""
      with open(json_file, "r") as file:
          raw_items = json.load(file)
  
      doc_items = defaultdict(
          lambda: {"params": {}, "returns": {}, "attrs": {}}
      )
      for item in raw_items:
          for key in item["target"]:
              for func_name in item["target"][key]:
                  doc_items[func_name][key][item["param"]] = item
  
      return doc_items
  
imports: import ast
  import json
  import re
  import argparse
  import textwrap
  import os
  from collections import defaultdict
label_desc: Use image node_id 12 for calling a global function with example usage: parse_json(json_file) and returns: doc_items