Add _id to toJSON() at the top level of the document only.