Improved mechanism to fetch object data and objects inside relationships