Add metadata for WMS layers based on GetCapabilities.