Adding timestamp to json file