bugfix:Caught 'UnicodeDecodeError' in json.dumps