Keys of NBT tags are practically never seen quoted in the wild (and only need to be if there are special characters in them), and instead of trying to escape quotation marks in NBT strings, the NBT string should be delimited with apostrophes instead of quotation marks.
Keys of NBT tags are practically never seen quoted in the wild (and only need to be if there are special characters in them), and instead of trying to escape quotation marks in NBT strings, the NBT string should be delimited with apostrophes instead of quotation marks.