Formalizing the exceptions for the object model element visitor, instead of just strings! This needs a second formalization later when we get to introduce the Exception base type!
If the property value is null or undefined, we don't have type information - don't try to typeConvert. Fixes #507