To json
Map<String, Object?> toJson() => Map<String, Object?>.fromEntries( keys.map((key) => MapEntry(key, this[key]!)), );