BUG: Fix empty Data frames to JSON round-trippable back to data frames
[x] closes #21287
[x] tests added / passed
[x]passes git diff upstream/master -u -- "*.py" | flake8 --diff
[x]whatsnew entry

Fixes the bug occurring when empty DF, previously saved to JSON-file, is read from JSON back to DF.