code: def load_config_json(conf_file):
      
      try:
          with open(conf_file) as _:
              try:
                  json_conf = json.load(_)
              except ValueError as ze_error:
                  error('invalid-config',
                        'The provided configuration file %s is not valid json.\n'
                        'The exact error was %s.\n'
                        'This often happens because of missing or extra commas, '
                        'but it may be something else, please fix it!\n' %
                        (conf_file, str(ze_error)))
  
      except FileNotFoundError:
          json_conf = {}
      except IOError as _err:
          error('setup-issue',
                'Passed config file %s could not be opened (%s)' %
                (conf_file, _err))
  
      return json_conf
docs: Banana?