import json


def load_metadata(metadata_path: str) -> dict:
    """Load the json metadata file

    Args:
        metadata_path: path to the dataset metadata

    Returns:
        dict: metadata as a dict
    """
    with open(metadata_path, "r") as f:
        metadata: dict = json.load(f)
    return metadata