fix parser, so that it actually writes post data to mongo