so featureInfo is an array that contains one entry per layer which has the result of featureInfoFunction in this case as its value?
How would application developers know what entry of the array corresponds to which layer? Or does this imply that all handling should be done in featureInfoFunction?