serialize and deserialize now use plain javascript objects rather than strings