convert to string before comparison

Everything that could be misinterpreted as a number or anything else is
now converted to string before comparisons