Serialize all included grammar scopes