Add "parseAsFlumeEvent" config parameter to decide whether to encode event as Flume event or not.