Adds search field in all views and implements json traversing for autocomplete.