refactoring of console.log output for phantomjs processes for easier reading