marshal DBObject