The normal way to handle non string values where a string value is expected is to use `ToString` on it.