Correctly export line breaks in JSON format

ready for merge, fixes https://github.com/pculture/unisubs/issues/1604