modified json output to apply long time instead of time tostring