Send Multiple Node Json Post in Python
===

I understand how to send a simple JSON in python.

What I can't find is how to make a more complex JSON object. It doesn't even need to be very complex, I am simply testing out Google Cloud Messaging, and I need to send something that looks like this:


{
    "collapse_key" : "Food-Promo",
    "time_to_live" : 3600,
    "delay_while_idle" : "true",
    "data" : {
        "Category" : "FOOD",
        "Type": "VEG",
    }
    "registration_ids": ["APA4lj5jl54l2h..."],
},

I have not been able to find a way to do this in Python. Most of my experience is with Java, so maybe that's part of why I can't find this, because it seems it would be simple and I'm worried I've already seen a solution and passed over it.
Any help would be greatly appreciated.