housekeeping: Improve reporting of cleaned stale data
This MR unifies the logic to report cleaned-up stale data and adds reporting of pruned config keys and empty config sections.
This MR unifies the logic to report cleaned-up stale data and adds reporting of pruned config keys and empty config sections.