code: function filesObjects(val) {
    var res = {};
    if (val.options) res.options = val.options;
    res.files = [];
  
    for (var key in val) {
      if (key !== 'options') {
        var file = {};
        if (val.options) file.options = val.options;
        file.src = utils.arrayify(val[key]);
        file.dest = key;
        res.files.push(file);
      }
    }
    return res;
  }
docs: When `src`, `dest` and `files` are absent from the
  object, we check to see if file objects were defined.
  
  ```js
  // converts from:
  { 'foo/': '*.js' }
  
  // to
  { files: [{ src: ['*.js'], dest: 'foo/' }] }
  ```