function getFilters (filterArray) {
	var filters = {};
	filterArray.forEach((filter) => {
		filters[filter.field.path] = filter.value;
	});
	return filters;
}
Make an array of filters an object keyed by the filtering path

@param  {Array} filterArray The array of filters

@return {Object}            The corrected filters, keyed by path