style(controller): remove newline characters from response