When I look at the doc string for (org-macro-replace-all) it says:

Optional argument KEYWORDS, when non-nil is a list of keywords,
as strings, where macro expansion is allowed.

I tried passing it '("export-block") but it didn't work, but it seems like something like that should be close.

This whole area of org documentation seems pretty obtuse, with few examples.