adding support for serialized output from threads per issue #6
Merge pull request #7 from bicarbon8/Issue6

adding support for serialized output from threads per issue #6