Don't make clients double-encode messages.
Don't let users crash the server by sending malformed JSON.