I'm afraid this won't work, because on line 563 we declare the actual url that is used and returned, so this is a no-op atm.

so, the best thing to do here, IMHO, is change this to:

```js
function getQueryAndUrl(msg, def, format, config) {
    var url = def.url;
    if (config.pathPrefix)
        ret.url = config.pathPrefix + ret.url;
    var ret = {
        query: format == "json" ? {} : []
    };
    if (!def || !def.params) {
        ret.url = url;
        return ret;
    }
    // ... and the rest stays the same
}
```

Does that make sense? Sorry that I have to bring this up, I hope you understand.