Convert boolean strings from set_fact to proper boolean values

Also adds integration tests for booleanification of strings

Fixes #8629