@override Object toJson() => { if (citationSources.isNotDefault) 'citationSources': [for (final i in citationSources) i.toJson()], };