Ugly fix in swagger.js to skip unwanted properties.