Trim of group and collection names.