Add new websocket to send metrics in JSON format.