fix JSONDecodeError: Invalid \X escape sequence u'\\'

I frequently see this error due to specific request contents in the stats server output. I'm connecting to a socket. This fix works for me, but I'm not certain how to make sure it's the correct solution.