improve task object string representation