only print hasOwnProperty properties