code: def config_dict(name: str) -> Dict[str, Any]:
      
      try:
          content = resource_string(PACKAGE, DATADIR.format(name)).decode()
      except DistributionNotFound as error:
          LOGGER.warning("Cannot load %s from packages: %s", name, error)
          content = DATA_FALLBACK.joinpath(name).read_text()
  
      return cast(Dict[str, Any], json.loads(content))
docs: Load a JSON configuration dict from Guesslang config directory.
  
      :param name: the JSON file name.
      :return: configuration