fix formatting of date for json file