Oops, restore JSON option for specifying a grammar.