some serialization experiments for py2/py3