run

fun run(outputDict: MutableMap<String, Any>): Map<String, List<Map<String, Any>>>

Reformats the data in the outputDict map into a list of maps with specific keys and values.

Parameters

keys

List of keys to be used in the reformatted output.

outputDict

Mutable map containing the output data.

tagMapping

Map for mapping tags to keys in the reformatted output.

reformattedOutput

Mutable list to store the reformatted output.