For loop iterating over prototype properties in _getDataToSend

use hasOwnProperty(i)