JSON command handlers now throw correct exception
TextualTokenTypeAdapter now throws right exception
updated JSON command handler tests