This code is repeated from the APNS stuff above. Factor out into "setNotificationPayload()" function, perhaps, and then above do:

```
body: setNotificationPayload(payload
```
when defining the message object?