Fix deserialization of RegEx enabled properties

Fix type mismatch for RegEx (introduced in 6e50301 - my bad, sorry)
Merge pull request #128 from kjac/RegEx-model-fix

Fix deserialization of RegEx enabled properties