DBRef serialization