Version Number correction in to_json table
Added a line of code to obtain version of Pandas and display it in Schema of a table json when to_json(orient='table') is used.

- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
