Resolves a path in an object