This function could be written more declaratively:

```javascript
var serialize = exports.serialize = function() {
  return _.map(this.serializeArray(), function(el) { ... }).join('&');
};
```