Making a message payload compatible with Phonegap PushPlugin