Use six.iteritems in __hash__ to avoid performance import from items.