Parsing Telegraf output json as input json

This is related: Telegraf Dynamic Tag Parsing - Batch Style, except an array is used too.