Changed license to licenses in facet titles where this makes more sense.
avoid UnicodeEncodeError when params contains non ascii characters