moving 3D visualization data stuff into a json websocket connection