Convert Task.id to string in DictionarySerializer

- Change DictionarySerializer to output strings for Task.id. Previously
  this returned uuid.UUID instances that would cause the JSONSerializer
  to fail. Existing dictionary-serialized tasks, e.g. pickled ones,
  will load correctly.