Fix getObjProperty to call methods on final property in a path