Collapse variables and extensions in pandoc-save-settings.