docs: def read_json_from_file(filename):
      """
      Import the JSON data from target file.
      :param str filename: Target File
      :return dict: JSON data
      """
      logger_jsons.info("enter read_json_from_file")
      d = OrderedDict()
      try:
          # Load and decode
          d = demjson.decode_file(filename, decode_float=float)
          logger_jsons.info("successful read from json file")
      except FileNotFoundError:
          # Didn't find a jsonld file. Maybe it's a json file instead?
          try:
              d = demjson.decode_file(os.path.splitext(filename)[0] + '.json', decode_float=float)
          except FileNotFoundError as e:
              # No json or jsonld file. Exit
              print("Error: jsonld file not found: {}".format(filename))
              logger_jsons.debug("read_json_from_file: FileNotFound: {}, {}".format(filename, e))
          except Exception:
              print("Error: unable to read jsonld file")
  
      if d:
          d = rm_empty_fields(d)
      logger_jsons.info("exit read_json_from_file")
      return d