code: def json_parser(path):
      """
       Parse a json file into dict
  
      Args:
          path: the path to json file
  
      Return:
          (dict): the parsed dict
      """
      with open(path, "r") as conf:
          conf = json.JSONDecoder().raw_decode(conf.read())[0]
      # to support python2/3 in both unicode and utf-8
      python_version = [
          int(v) for v in platform.python_version().split(".")
      ]
      if python_version[0] < 3:
          conf = _unicode_to_utf(conf)
      return conf
  
imports: import re
  import json
  import platform
label_desc: Use image node_id 3 for calling a global function with example usage: json_parser(path) and returns: conf