update migrators to use py3 dict iter