converted topics and facility term IDs to strings

There are a few free-text entries in these fields, which
"confuses" ElasticSearch.