Use hasOwnProperty for data

Otherwise prototype methods of some data-classes's instances fall into query string