only print hasOwnProperty properties
Merge pull request #7 from thrackle/master

only print hasOwnProperty properties