using TextParser to handle the payload

This patch uses Fluent's standard TextParser, taking the common `format` option, to handle a wider range of payload formats and to behave more like the built-in input plugins.