Popen was inserting stdout to the ajax response