CLN: Removes module pandas.json
- [x] closes #19944
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

I'm just not sure about which file should I add my changes in whatsnew, can anyone help me with that?