Python 3 does not support iteritems(...)

```
AttributeError: 'dict' object has no attribute 'iteritems'
```