updated get value in getObjectValue
Merge pull request #4 from rudott/patch-2

updated get value in getObjectValue