Sortable issue when using a UUID as primary key

Sortable issue when using a UUID as primary key

I am trying to use Sortable on a number of items.  The issue is that the primary key of each item is a UUID that contains _- characters.   This causes issues when I call $(this).sortable('serialize') on the update as it looks like the internal regular expression splits on [-_=].   Does anybody have a suggestion of an alternative way to serialize the ids so that I can POST them to my webserver?

Thanks,
John