Added suport for nested objectIds