DBObject converter