I want a final Object where the keys are grouped by ids. Inside each key would be an array of objects of the same size. The tricky part is adding an empty object if nothing