Helper for defining sub-builders that map a serializable type (typically String) to a configuration type.