finished json response for websockets