Updated autocomplete query to use new search module to be consistent with Customers search page. Refactored json functions to use json library.