generate searchdata.json for bringing back search