Map<String, Object?> toJson() => { 'candidateId': candidateId, 'snapshots': snapshots, 'bytes': bytes, };