change search bar so that json doesn't appear when selected
now clicking on an item in the search bar works