Serialize vectors by emitting/consuming bytestrings