`pushSerializeAndPop()` can do the looping for you.