Adds new lines to end of .json files; includes some simple cleanup