Convert bools to lowercase in ToParametersDictionary. Fixes #639

Fixes boolean type parameters by converting their string representation to lowercase - which GitHub understands. Could have probably just overloaded the return lambda right below this but I thought I might as well make it look like the other type exceptions above.