Fix for custom ;ang mapping in st2

dict.items() is not available in Py2