Various changes

uptime is double
json is manually created
remove logging of json output