https://github.com/Nosto/nosto-php-sdk/blob/develop/src/Helper/HtmlMarkupSerializationHelper.php#L238. Not allowing booleans becomes problematic especially with collections with mixed strings, nulls and boolean (custom fields for example)