code: function mergeParams(params, addition) {
          return (
              // if it's uncontested, then just return the addition.
              (!params) ? addition
              // if the existing value is an array, then concat it.
              : ($.isArray(params)) ? params.concat(addition)
              // if the existing value is not an array, and either are not objects, arrayify it.
              : (!$.isPlainObject(params) || !$.isPlainObject(addition)) ? [params].concat(addition)
              // else merge them as objects, which is a little more complex
              : mergeObjects(params, addition)
          );
      }
docs: the reducer function that merges each query piece together into one set of params