Convert parameters to string before comparing
Added support for on/off bool values