* Attempt nested for real this time
* forgot to include handling the base path
* Reverted unnecesssary changes
* Remove unneeded net6.0 gating
* Add comments
* Finish comments
* Might as well safeguard if no protections are returned.
* Use object instead of dynamic
* Remove weird empty string root node handling
* remove uneeded ref
* Modify comment accordingly
* Merge regular and nested json writing
* Simplify object value checking
* change flag handling
Co-authored-by: Matt Nadareski <mnadareski@outlook.com>
* Initial fixes
* Invert if-else to de-nest main logic
* minor formatting fixes
* Improved Json output
* Remove unnecessary comments
* That's just a string
* Slight improvement
* Simplify casting
* attept further simplification
* Further
* Reduce nesting using inversion and continue
* Further simplified logic
* Replace my code with sabre's
* De-nest using continue
* newline
* Remove all instances where it can end in a directory seperator
---------
Co-authored-by: Matt Nadareski <mnadareski@outlook.com>