added get function to follow an object path and return the result;