from typing import Any
from typing import Dict
import json


def load_json(json_filepath: str, **kwargs: Any) -> Dict:
    """
    Load a JSON file.

    Parameters
    ----------
    json_filepath : str
    **kwargs : Any
        Arbitrary keyword arguments which get passed to the loader functions.

    Returns
    -------
    config : Dict
    """
    with open(json_filepath) as stream:
        config = json.load(stream, **kwargs)
    return config