Write a new line at the end of json files