mongo writer stub