Fix JSON orient='table' issues with numeric column names
closes #19129
closes #22525
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
