always cast counters from json to strings