Added newline to hash and json writers

The other writers all already add a newline, except for the
text writer. Since it might be significant, I decided against adding a newline there.

This behaviour change is backwards compatible in the sense that the approvals don't change. Once they change, they also add the newline.
Merge pull request #33 from markijbema/add-newline

Added newline to hash and json writers