Add group quality and attribute scores support in group API for swoosh algorithm