Adding units to stats.totalDuration before stringifying.