Have toJSON only remove cid.