Remove debug logging calls
Fixed handling JSON arrays in datamodels
Fix handling of null JSON variables
Evaluate data model JSON variable values so they're stored with the correct type.
Fixed datamodel referencing errors

Fixed referencing errors introduced by previous datamodel enhancement.  Accessing datamodel variables through dot notation was causing problems since many datamodel variables have dots in their names.  They're now accessed using square bracket notation.