json_normalize: Make code more pythonic and avoid modification of meta if mutable
- [x] closes itself #18610 
- [x] tests added / passed
- [x] passes `git diff master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

- Update json_normalize to prevent modifying `meta` parameter.
- Make the code more Pythonic too.