panel.to_json() Not implemented
#### Code Sample, a copy-pastable example if possible

```python
panel.to_json(args["output"])

```
#### Problem description

I am trying to save a panel into a file. I have tried to_json(), to_csv(), but I always get an error. Are there others methods to save this structure into a file. Or should I be careful with the pandas version?

