LPS-47260 Simplify handling of multi valued keys and make registration of settings structure easier