That makes sense... Thanks for the explanation :-)
I was in the middle of posting the output and was pulled away...
Here's what your code (run as-is) produced:
'WPDONCND119BLK8' => [
'WPDONCND11528CH' => [
'UNASSIGNED' => [
I like how all the UNASSIGNED keyes are in one chunk... easy to see (and I found a duplicate thanks to your code)