Import unicode_literals from __future__ where needed
Remove unspected tag: current
Use iteritems from six
Use the next method instead of the private generator method next