py script to read in data transform and output as bulk to import in es