Allow multiple serialize/unserialize runs