def normalize(iter):
    """
	Normally takes the output of `extrapolate` and makes a dictionary suitable
	for applying to a connector.
	"""
    rd = {}
    for k, v in iter:
        sd = rd
        for sk in k[:len(k) - 1]:
            sd = sd.setdefault(sk, {})
        sd[k[-1]] = v
    return rd
