Faster primitive set alternative

Where values can be serialized to strings and order of iteration
doesn't have to be guaranteed as per spec.