Implemented compilation of html files with `json` option