ENH: Remove newlines from cells in to_string

Cleans up the to_string output incase the backend adds a bunch of new line characters.