change the MDR output to a dict with key as group name and value as a list of dict