pandoc-lua-filters/inner-parens-to-brackets

This filter converts nested parentheses to brackets (and conversely).

I use it mostly to post-process citeproc output.