add json parsing of ttmik grammar rules