This is great, but what if I don't know ahead of time what the string will be...I need to do this dynanically, such that
"photos:0:0:ref" will be $arrayName[photos][0][0][ref]
but
"parts:0:typeOfPart" will yield $arrayName[parts][0][typeOfPart]
employing the same method to generate both.