I'm not sure about the name here. This reads as if there's a view "toRelationCollections"? But the name 'to' something seems like a converting method. I'll get to the functionality in a bit but this reads very confusingly to me atm.