Add simple serialization and deserialization of blobs