I am trying to use the stream API to convert my flat object list to a hierarchy. I tried to search for similar questions here, but I didn\'t find one that would work for mor