Add json search data

Creates `search.json` in the output folder