def merge_dict_list(dict_iter):
    """take an list of dictionaries and merge them.

    last dict wins/overwrites on keys.
    """
    result = {}
    for d in dict_iter:
        result.update(d)
    return result
