parsed the wiki stream to standard format