Makes bulk upload file for elastic search based on the index structure.
Uses index structure to determine valid fromat Takes input in the form of a regular jason search response from elastic. (Might make more valid input methods one day)
Reformats and places in file for future bulk upload.
Currently not yet finished!!!