Fixed double marshalling of resource names.