Minecraft wiki entry for Item_modifier, associated text: set_nbt—Adds or changes NBT data of the item.
 tag: The NBT to merge onto the item's tag tag, within a JSON string. The outer braces { } of the NBT must be present within this JSON string. Additional care is required when the NBT contains quotation marks ", as they must be escaped from the JSON syntax with a backslash \.