def peek_assoc(store, container, _stack=None):
    """
    Deserialize association lists.
    """
    assoc = []
    if store.getRecordAttr('key', container) == 'escaped':
        for i in store.iterObjectNames(container):
            assoc.append(store.peek(i, container, _stack=_stack))
    else:
        for i in store.iterObjectNames(container):
            assoc.append((store.strRecord(i, container), store.peek(i,
                container, _stack=_stack)))
    return assoc
