Join with Grouped By using a full entity as group and output