require hasOwnProperty helper
remove type JSON casting