document toIterator, toList, and dump