def METHOD_NAME(path: str) -> dict:
    raw_json = load_json_from_file(path)
    json_path = os.path.dirname(path)
    # we want relative paths to be relative to where the mapping file is, not where the executing terminal is
    # so check if we have an absolute path and if not, append the relative path to the path of the mapping file
    for key, value in raw_json.items():
        if value != os.path.abspath(value):
            path = os.path.join(json_path, value)
            # error check that wherever the path leads, there is a tarball
            if not os.path.isfile(path):
                eprint(f"Tarball does not exist at path: {path}")
            raw_json[key] = path
    return raw_json