Serialize exceptions as json.
Move example into js.
Fixup: select level 0 when switching between sentences.
merge master