Revert "Workaround to deal with an issue in node-webkit where the validate function fails on object literals"