Changing the code to put all the mps data into a single json file