Temporarily force the websocket transformer to always send json
messages.