CMP: Use six.iteritems for python 2/3 compatability