Pushed session serialize/deserialize down to repository layer