splitForPubKeys method
todo: this should not be here, since it is lib code and not spec stuff
Implementation
Filter splitForPubKeys(List<PubkeyMapping> pubKeyMappings) {
Map<String, dynamic> map = toMap();
map['authors'] = pubKeyMappings.map((e) => e.pubKey).toList();
return Filter.fromJson(map);
}