An extended serializer for Flume ElasticSearch sink