def deserialize(data):
    """
        Deserialize the endpoint template from a dictionary.

        :param dict data: a dictionary of values to import the template data
            from.
        """
