allow set/get of _customattr on Document + pass through DBRefs in to/fromPython