import json


def read_template(template):
    """
    Read and return template file as JSON

    Parameters
    ------------

    template: string
        template name

    returns: dictionary
        JSON parsed as dictionary
    """
    data = None
    with open(template) as data_file:
        data = json.load(data_file)

    return data