Robustness improvement for normalize.py
- [x] closes #26284
- [x] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

Improves robustness of json_normalize for inconsistently formatted json.
Fixes all observations in #26284