I think we can simply add a `!property.isEntity()` here. This should catch all simply types and prevent `DBRef` creation. The creation is only necessary anyway if we find a complex object.