TEST-ONLY: read back a tooth's current state as a plain object (Sets/Maps converted to arrays/objects for easy assertions). Not part of the public API.
TEST-ONLY: read back a tooth's current state as a plain object (Sets/Maps converted to arrays/objects for easy assertions). Not part of the public API.