Update searches_helper.rb

Force conversion of series_names and category_names to string in order to get proper piechart result.