This will fail if `dbref=True` on the `ReferenceField`. See how it's done in `flask_common.documents.fetch_related`.