Work around for unicode repr on python2