add json grammar from book