An attempt to fix some of the long terms issues with boolean parameters being passed down from server as string "true" "false" values. Added makeBooleanSafe function that converts any strings of values "true" or "false" to the corresponding boolean value.