code: def _get_metadata(metadata_path):
      # Start processing
      with open(metadata_path, encoding="utf-8") as data_file:
          json_string = data_file.read()
          data = json.JSONDecoder(
              object_pairs_hook=collections.OrderedDict
          ).decode(json_string)
      return data
  
file_path: dash/dash/development/component_loader.py
imports: import collections
  import json
  import os
  from ._py_components_generation import generate_class_file, generate_imports, generate_classes_files, generate_class
  from .base_component import ComponentRegistry
label_desc: Use image node_id 1 for calling a global function with example usage: _get_metadata(metadata_path) and returns: data