return tags.reduce((acc, tag) => {
    if (!acc.find(t => tag.id === t.id)) {
      acc.push(tag);
    }
    return acc;