Reducing the use of intermediate datastructures for the ClusterMessageSe...

...rializer