normalize time in json