code: function flattenFields(fields) {
  	const fieldsObj = {};
  	fields.forEach(function(field) {
  		if (!fields.hasOwnProperty(field.name)) {
  			fieldsObj[field.name] = field.value;
  		}
  	});
  	return fieldsObj;
  }
docs: Siren doesn't specify what to do if there are any fields with the same name (ie. radio buttons). If this happens, the first such field in the list will be chosen