Serializing an array and searches out the position of a identifier and appends a child array to that depth and element. Great way to avoid having to have to loop through each subarray.