Added support for v5 templates for saga configuration (generates new mapping for v5).