There's no way to send your content as is without doing any transformation first.
So use whatever language, script you want, split the array into individual documents, add a header for each and send it as a bulk request to the bulk API.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.