How do I make a villager sell something that can break a specific block in 1.13? [duplicate]

The tags for the item go into a tag called tag (not confusing at all):

/summon villager ~ ~1 ~ {Invulnerable:1,Silent:1,NoAI:1,CustomName:"\"insert name\"",Offers:{Recipes:[{buy:{id:iron_sword,Count:1},sell:{id:diamond_pickaxe,Count:1,tag:{CanDestroy:["minecraft:crafting_table"]}},rewardExp:0b,maxUses:1}]}}