remove null values from the notification to send a valid message to the APNS server