```js
ref[prop] = ref[prop].map(function(url) {
    return { url: url, shortname: _getWGShortNameFromURL(url) };
});
```