allow thriftdao take a pure DBObject