Referenced documents by field, then by id.
typedef RelatedDocumentMap = Map<String, Map<String, Map<String, dynamic>>>;