VE-1533: Check hasOwnProperty for typeToRdfa

https://wikia-inc.atlassian.net/browse/VE-1533