joining with newline will cause JSON.parse to fail