Add json endpoint for suggestions