I'm using snipcart for an online store, you can give product options through custom data attributes, so for the options I'm looping through a fieldset, so something like

 data-item-custom5-options="{{ size|piped }}"


everything is good if size were a string like small, medium, large, but if its numerical like 1 2 3 etc then snipcart doesn't like it and it doesn't work. I have a feeling this isn't going to be a statamic thing but is there such a thing as a modifier or something that makes it so that the numerical value is understood as a string?