Ensure that when marshalling for sending to Gcm, no whitespace is included.