[webui] Updated how group names are retrieved