updated to create batch json exports