Make sure the primitives is converted from String for the StringState collections.