translate hostgroups and servicegroups