I am looking at ElasticSearch and Vibe.d. It appears that to do a bulk insert in elastic search the json has to look like:

{ "index" : { "_index" : "test", "_type" : "type1", "_id" : "1" } }
{ "field1" : "value1" }
{ "delete" : { "_index" : "test", "_type" : "type1", "_id" : "2" } }
{ "create" : { "_index" : "test", "_type" : "type1", "_id" : "3" } }
{ "field1" : "value3" }
{ "update" : {"_id" : "1", "_type" : "type1", "_index" : "index1"} }
{ "doc" : {"field2" : "value2"} }

ref: https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html

Because there is no brackets enclosing the object as a single statement, there are some JSON errors

Error: Expected end of string after JSON value.

I believe this error is something with vibe transport. Is there any way to accomplish this with vibe.d?