boolean values were kept as strings

just like the function issue booleans where keeping there string equivalent.

0 = "false" is still true because the string is not null, empty or undefined.