pickling regen must give list not generator