Add toDBObject() common API used in DAO/Entity design pattern to BasicDBObject