first implementation of the xml-to-csv parser