Removes another python2ism: dict.iteritems()