Do not add another level of data processing. Allow to hide content in TOC. Ensure ordering of elements in TOC reflects ordering in rendering.