Ensure whitespace is removed when marshalling to send to Gcm.