Derive `Encodable` and `Decodable` traits for `Stats` struct.