Updated ting_visual_relation_get_search_result AJAX callback. Search result and facets is now returned in json format.
Removed unused helper function