Map<String, dynamic> toJson() { return _attributes.map((key, value) => MapEntry(key, value.toString())); }