WebSockets: websafe_json all payloads to prevent XSS.