Convert all params values to str in python3 compatible way