src/vs/workbench/contrib/tasks/common/taskConfiguration.ts/to
	export function to(group: Tasks.TaskGroup | string): GroupKind | string {
		if (Types.isString(group)) {
			return group;
		} else if (!group.isDefault) {
			return group._id;
		}
		return {
			kind: group._id,
			isDefault: group.isDefault
		};
	}