rhqapi.js: type Resource.name as JS string