parsing LegendURL in WMTS capabilities