#8 - ResourceMetadata now being read-only, the resource provider does not work anymore

Changed implementation of getResourceMetadata()