edit grammar/JSON