generic mongodb dao