resource service and transform metadata