Use lists instead of dicts in memlist.