code: def get_json_file(filename):
      """
      Get the data from the json file
  
      :param filename: Full file path
      :type filename: str
      :return: json data parse as python dictionary
      """
      json_file_path = filename.replace(".jpg", ".json")
  
      json_file = open(json_file_path, "r")
      data = json.load(json_file)
      json_file.close()
  
      return data
  
file_path: clearml/examples/hyperdatasets/data-registration/register_dataset_with_roi.py
imports: import glob
  import json
  import os
  from allegroai import DatasetVersion, SingleFrame, Task
  from argparse import ArgumentParser
  from clearml import StorageManager
label_desc: Use image node_id 1 for calling a global function with example usage: get_json_file(filename) and returns: data