config: New type for defining key-value configuration pairs.
config: Replace code with new helper type.