Updates to support persisting to a csv file and update package.json