This can be simplified to a dict comprehension:
```
post_dict = {key: val[0] for key, val in post_dict.items()}
```