Disallow empty record with empty key,value pairs on ini format (#9722)
# Description
This PR fixes #9556. Now, only a section will be added if it contains a
key, value pair. With this change, `{record with 0 fields}`, should not
appear anymore.
For more context on empty sections, see issue on the
[crate](https://github.com/zonyitoo/rust-ini/issues/109)
```
open -r whatever | from ini
╭─────────────┬──────────────────────────────────────────────────────────────╮
│ │ ╭───────────────────────┬──────────────────────────────────╮ │
│ placeholder │ │ aws_access_key_id │ AAAAAAAAAAAAAAAAAAAAA │ │
│ │ │ aws_secret_access_key │ BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB │ │
│ │ ╰───────────────────────┴──────────────────────────────────╯ │
│ │ ╭───────────────────────┬──────────────────────────╮ │
│ default │ │ aws_access_key_id │ AAAAAAAAAAAAAAAAAA │ │
│ │ │ aws_secret_access_key │ AAAAAAAAAAAAAAAAAAAAAAA │ │
│ │ │ aws_session_token │ BBBBBBBBBBBBBBBBBBBBBBBB │ │
│ │ │ region │ us-east-1 │ │
│ │ │ output │ json │ │
│ │ ╰───────────────────────┴──────────────────────────╯ │
╰─────────────┴──────────────────────────────────────────────────────────────╯
```
# Tests + Formatting
Now test for exact `from ini` output
---------
Co-authored-by: sholderbach <sholderbach@users.noreply.github.com>