Convert bools to lowercase in ToParametersDictionary. Fixes #639