Change the alerta format to use a map for tags