function parametizeFilters (filterArray) {
	if (!filterArray || filterArray.length === 0) {
		return;
	}
	return filterArray.map((filter) => {
		return Object.assign({
			path: filter.field.path,
		}, filter.value);
	});
}
Flattens filters from state into the minimum needed object to be used as a url
param

@param  {Object} filterArray         The array of filters from state