prevent double encoding of containers and object names