shouldn't this method just take data as an argument?

```python
data = scene.generate_visualization_dict(kane._q + kane._u, params, states, param_vals)
scene.generate_visualization_json(data)
```