Send JSON via websockets