remove traces of serialize/deserialize. too much hassle to call them at each site