Support for serializing to TextWriter
Merge pull request #637 from eulerfx/master

Support for serializing to TextWriter