Fix to send the correct json (same as cloud endpoints json) into GCMessage