import json


def j2d(data):
    """Convert json to dict.

    Parameters
    ----------
    data : string
        JSON-formatted string.

    Returns
    -------
    dict
        Data as dict.

    """
    return json.loads(data)