AJAX endpoint search_loops() now supplies the 'type' field in results, bringing it into compliance with other search types