Fixed unicode errors in JSON tests under python 3.3