allow change of the output format type
Merge pull request #8 from jacekd/master

allow change of the output format type