Use array into databag to iterate in template

Signed-off-by: Christophe Courtaut <christophe.courtaut@gmail.com>