#BATCH-2267: added support to read/write to/from Elasticsearch