removed all newlines from output so it's one long json string.