use explicit name but generic type for the image:metadata resource that may or may not exist