Add index.json generation
Table of Contents now works