bulk import file generator as well as nested document from MySQL for elasticsearch bulk api