It would seem the .json was being appended twice, when we were going to get the datasets