def _list_append_key_value_with_fn(dict_, key, value, fn=lambda x: x):
    """create and append value to list stored at key, applying fn to value, return dict"""
    _l = dict_.get(key, [])
    _l.append(fn(value))
    dict_[key] = _l
    return dict_