Refactors how to obtain the root object for a keypath
Adds support for keypaths