bool_cast() & 'boolean' type support in Xml2VarBuilder