fix bug logging unicode data

Bug details:

  File "thug/src/Logging/JSONLog.py", line 66, in fix
    return str(data).replace("\n", "").strip()
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2122' in
position 50: ordinal not in range(128)