Refactoring around JSON printing
Based on !590 (merged), please review that first.
-
system-info: Use more conventional indentation
-
system-info: Narrow scope of GStrv variables, and use g_auto for them
-
system-info: Use g_autoptr to free local variables in main
-
Factor out a common function to print a JsonBuilder
-
helpers: Warn if closing stdout fails
/cc @denittis