Refactoring to separate generic methods
Finished json_generator to deal with IV v DV

  - Generic process_items method now
Removing old temp.json file