Implement StartTime for timed tasks

And minor fixes in Task serialization

#271