Bug fix: getAllLayerInfo did not properly escape LayerIds passed to the
method.