making changes in json and trying date fns