Preparing merge jq code (dialogs and accordion)