group and task dto for rest stuff