properly parses received tasks
Merge pull request #6 from mamarildon/parser

Parses data according to headers and substasks