Fix deserialization of RegEx enabled properties

Fix type mismatch for RegEx (introduced in 6e50301). My bad, sorry... for whatever reason, the RegEx property on the model ended up as a boolean property instead of a string property.