data.hasOwnProperty in key iteration