Moves from pickle to JSON but see #10