Allow ByteString to be serialized.