Revert "websafe_json rendered HTML before sending down websocket."

The websafe_json call is moving up into r2 core.

This reverts commit a43109a01b35db6117a33c20947ef93e47bd199a.