Binary serialization and deserialization in Haskell using lenses.