change the time in json