Call hasOwnProperty when iterating on dataset