Hack to get unicode working on python2/python3