json: convert uptime into data units