`object|null` should be sufficient here. The elements should always be mapped documents.