handling keys/ids for nested objects with deep references