prevent illegal chars from going to solr