Add _id to the return value of cast()