Fixed serialisation bug for multi percolate request and response classes.

This bug manifests when running with transport client.