fixing transform time and output in json