Ensure that Message objects will be sent via RPC in unicode format

Fixes bug 1229204

Change-Id: Ia915f3175bee370d747e362cd9d35d8536c1b7b2
Co-authored-by: He Jie Xu <xuhj@linux.vnet.ibm.com>