move serialization to tower-adapter