Resolves #4

Serializing and entitizing newline characters properly.