Py2.6 compatibility: dict literals not supported