serialize

Serializes the manifest to a ByteArray in MessagePack format.

Return

the serialized manifest as a ByteArray.