SmartCookie requires dict keys to be strings, not unicode