Doing the proper iteritems/items on py2/py3.