def _make_unique(key, val):
    """
        Make a tuple of key, value that is guaranteed hashable and should be unique per value
    :param key: Key of tuple
    :param val: Value of tuple
    :return: Unique key tuple
    """
    if type(val).__hash__ is None:
        val = str(val)
    return key, val