import json


def load_map(map_path):
    """Load map in json format and return a dic

    Args:
        map_path (str): Path to json file

    Returns:
        map_dict: Map as dictionary.
    """
    with open(map_path) as map_handle:
        map_dict = json.load(map_handle)
    return map_dict