I would suggest to actions to close this comment:

* For this PR, rename curlXml2 to curlXmlTenants (or something like that), to be more descriptive
* Look for the issue about harnessFunction.sh refactoring/cleaning (I'm not sure if we already have one already ;). Otherwise, create it. In that issue add the detail of the specific refactoring tasks that need to be done (e.g. "the brokerStart function should change, to have only one fixed parameter (CM/CB), while all following parameters are passed directly to the broker.", "functions X and Y should be merged", etc.)