code: def json_load(file, int_keys=False):
      with io.open(file, encoding="utf8") as f:
          data = json.load(f)
          if int_keys:
              return {int(k): v for k, v in data.items()}
          else:
              return data
  
file_path: mmdetection/projects/LabelStudio/backend_template/mmdetection.py
imports: import io
  import json
  import logging
  import os
  from urllib.parse import urlparse
  import boto3
  from botocore.exceptions import ClientError
  from label_studio_ml.model import LabelStudioMLBase
  from label_studio_ml.utils import DATA_UNDEFINED_NAME, get_image_size, get_single_tag_keys
  from label_studio_tools.core.utils.io import get_data_dir
  from mmdet.apis import inference_detector, init_detector
label_desc: Use image node_id 1 for calling a global function with example usage: json_load(file, int_keys) and returns: unknown, data