This line in particular just mirrors what's done in array attribute's `to_s`. I'm not sure if it's something peculiar with the ERB templates that's adding the newlines, but this was the cleanest way I could find.