Added type checking before assigning value to object.
Merge branch 'typeChecking' into robustParsing
Merge pull request #1 from theappbusiness/robustParsing

Robust parsing