code: function (data) {
      var str = '', start = true;
      var jsondata = '';
      for (var key in data) {
        if (typeof (jsondata = JSON.stringify(data[key])) === 'string') {
          str += (start? '': '&');
          str += encodeURIComponent(key) + '=' + encodeURIComponent(jsondata);
          if (start) { start = false; }
        }
      }
      return str;
    }
docs: /* Convert object literal to xhr-sendable.