Replace serialization with Data.Binary.