txtinfo: wrap generic info plugin configuration in a struct