table serialization
python: support dict.items as sequence in python3

TODO: find the right superclass to use here