Add a header line before each json document
<p>I have a json file with 1000 json object.
is there any way to add a header line before each json document ? Is there any easiest way ?</p>

<p>Example :     I have 1000 object like this</p>

<p><code>{"id":58,"first_name":"Louis","last_name":"Jordan","email":"ljordan1l@nature.com","gender":"Male","Latitude":"-15.93444","Longitude":"-50.14028"}</code></p>

<p>i want to add index header like below for every json object so that i can use in Elasticsearch Bulk api</p>

<pre><code>{ "index" : { "_index" : "test", "_type" : "type1", "_id" : "unique_id" } }
{"id":58,"first_name":"Louis","last_name":"Jordan","email":"ljordan1l@nature.com","gender":"Male","Latitude":"-15.93444","Longitude":"-50.14028"}
</code></pre>