fixes #204 getModelInstance() object to string
fixes #204 cast 2nd $modelClass to (string)
Merge pull request #207 from jzahedieh/jzahedieh/fix-204

fixes #204 getModelInstance() object to string