adds __toString to tasks