Japanese Support

Hello! Thank you for your addon.

Since Anki doesn’t support list fields, I thought I’d format my sentences for vocabulary in JSON format in one field and then create the HTML in my cards with Javascript. For example, this is a field with one sentence:

{
  "sentences" : [
    {
      "sentence" : "食べながら読んではいけません",
      "meaning" : "You must not read while eating.",
      "source" : "Jisho"
    }
  ]
}

I let your addon autogenerate a field with the furigana, which gives:

{" sentences":[{" sentence":" 食[た]べながら 読[よ]んではいけません"," meaning":" You must not read while eating."," source":" Jisho"}]}

and is turned into this HTML:

<div id="sentences">{"<ruby><rb>sentences":</rb><rt>{" sentence":" 食[た</rt></ruby>べながら<ruby><rb>読</rb><rt>よ</rt></ruby>んではいけません"," meaning":" You must not read while eating."," source":" Jisho"}]}</div>

which is obviously invalid JSON, and so I can’t grab this div's innerHTML and parse it for formatting with Javascript.

Why does your program add spaces, and why is the HTML output so mangled? I think this is an issue (feature? unintended use of Anki’s furigana because I’m annoyed Anki doesn’t have list fields?) with Anki too, but I thought I’d ask here first before raising an issue on GitHub.