Appending a newline character to JSON responses