When I get the layerInfos object from an ArcGISDynamicMapServiceLayer after it is loaded, I get an array of the correct number of LayerInfo objects, but each property of each LayerInfo object is undefined. Can anybody help me to figure out why that is?