apns_dict = {'aps': {'alert': 'inner message', 'sound': 'mySound.caf'}}
apns_string = json.dumps(apns_dict, ensure_ascii=False)
message = {'default': 'default message', 'APNS_SANDBOX': apns_string}
Format APNS-style JSON message in Python for use with Amazon SNS