BUG: Fix json_normalize throwing TypeError when record_path has a sequence of dicts #22706
 
- [x] closes #22706
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
