You can take advantage of `urllib.urlencode` here:

```python
def app_data_urlencode(app_data):
    return urlencode([('app_data[{}]'.format(key), value) for key, value in app_data.items])
```