Resolved extra newline issue in the API response.