Use items instead of iteritems (Python3)