replace all " in submission data and remove continous whitespace and newline
fix tests for new output