routeEnhancers / urls beautify with multiple namespaces and multipart parameters

I need to beautify the urls of a framework for the presentation of historical documents (Kitodo.Presentation)

Simple replacements work, but in some cases multiple namespaces are needed, for example:


Besides, there are places where the parameter is multipart, for example

tx_dlf_listview[searchParameter][collection]=16 or even

At the moment I have to work with Typo3 v10, due to limitations of Kito.Presentation