Minified topic trees w/o empty topics

Test Plan:
- None
Add code to not include empty topics in minified output

Test Plan:
- Make sure Counting objects empty topic doesn't show up (empty after
  removing Exercises)