Rework the structure of the WMTS resourceUrls property

and remove resourceUrl property which was kind of duplication.