Added loadJSON and saveJSON

Added loadJSON and saveJSON