You should make a copy of the `issue` dict first, otherwise it might cause surprises if is used afterwards:
```py
issue = dict(issues)
issue['labels'] = ', '.join([l['name'] for l in issue['labels']])
```