code: function toQueryParams(object){
  	return Object.keys(object)
  		.filter(key => !!object[key])
  		.map(key => key + "=" + encodeURIComponent(object[key]))
  		.join("&")
  }
docs: Convert an object into query parameters.
  @param {Object} object Object to convert.
  @returns {string} Encoded query parameters.