I just realized this is going to break because it won't do the "automatic conversions" we do right now (documented here https://github.com/typesafehub/config/blob/master/HOCON.md#automatic-type-conversions ). For example if you set a boolean to "on" or set a duration to "100 seconds", those are strings in the unwrapped map, but they get auto-converted if you call getBoolean or getMilliseconds. The most complex autoconversion is from object with numeric keys to a list.

So I believe we would end up having to look at the type of each bean property and then call the appropriate getter on Config. Going to be more code :-/