Adding newline when rewriting package.json

Closes #3