Give item with NBT

I am trying to give the player an items that has nbt, via a datapack. it does not seem to be working. this is the line: give @s knowledge_book[custom_name='{"color":"green","text":"Expirience Book 10L"}',lore=['"Contains 10 Levels"','"Use to Gain them"'],fire_resistant={},recipes=["xpbook:level_10_charged_use"]] 1 Do i need some of the \" ?
Continue to help post