get nested objects working for the object interface