objects: correct work with hasOwnProperty
Merge pull request #88 from ikokostya/obj

objects: correct work with hasOwnProperty