websafe_json rendered HTML before sending down websocket.