verify that the object is not an array
Merge pull request #1 from lxe/patch-1

verify that the object is not an array