PY3COMPAT: explicitly ensure map result is a list
PY3COMPAT: Python 3 dict.items is equivalent to old dict.iteritems