def to_json(*a)
      {
        name: name,
        version: version,
        hostname: hostname,
        stats: stats,
        checks: checks,
        timestamp: timestamp,
        uptime: uptime,
        diskusage: disk_usage,
        status: status
      }.to_json(*a)
    end
def to_json(*a)
      {
        name: name,
        version: version,
        hostname: hostname,
        stats: stats,
        checks: checks,
        timestamp: timestamp,
        uptime: uptime,
        diskusage: disk_usage,
        status: status
      }.to_json(*a)
    end
rubocop:disable MethodLength