add types support

I need types support like fluent-plugin-tail and implement it using fluent-mixin-type-converter. Request to merge to upstream.