Reduced size of serialized markup

Added Task.stringify method in order to represent the markup as a string surrounded by single quotes. This is now used instead of escaping the markup using escape, which previously increased the size of the serialized markup substantially.