#!/bin/bash
awk 'BEGIN {print "groupId groupPath"} /groupId:/ { g = $2 } /groupPath:/ {$1 = g;print}'
IyEvYmluL2Jhc2gKYXdrICdCRUdJTiB7cHJpbnQgImdyb3VwSWQgICBncm91cFBhdGgifSAvZ3JvdXBJZDovIHsgZyA9ICQyIH0gL2dyb3VwUGF0aDovIHskMSA9IGc7cHJpbnR9Jwo=
T0s6Cmdyb3VwSWQ6IDI3Cmdyb3VwUGF0aDogTXkgT3JnYW5pemF0aW9uXE1hbmFnZW1lbnRceHl6Cgpncm91cElkOiAzMgpncm91cFBhdGg6IE15IE9yZ2FuaXphdGlvblxNYW5hZ2VtZW50XERhdGFiYXNlIEhvc3RceHl6Cg==
OK:
groupId: 27
groupPath: My Organization\Management\xyz
groupId: 32
groupPath: My Organization\Management\Database Host\xyz