bug fix: when we were parsing the TOC on the item page, we'd sometimes fail. this was because the toc is sometimes a string and sometimes an object. fixed.