Map<String, Object?> toJson() => { 'id': id, 'claim': claim, 'value': value?.toJson(), 'revision': revision, };