read index.json instead of modifiying index.jade