`Lang.isObject()` doesn't do anything useful here, and also returns `true` for functions, which you don't want. I recommend using `typeof obj[key] === 'object'`.