add support for different vault xml versions