data-driven config: handle a sequence of plugins inside a block

The logstash_conf.rb template helper functions do not support rendering multiple instances of the same plugin within a block e.g. grok plugins against different fields in the message.