added newlines after each JSON object written to file