Fix #24166 - updating an app's settings now populates hierarchically.
This allows default values in new sub-settings (e.g. within a dictionary) to be found and used during the update.