Issue #194 - Fix newlines causing JSON.parse ot not work