fix the output format and duplication bugs
Merge branch 'master' of https://github.com/maismail/stratosphere-workshop-template