Added methods to save project as json object.
Added methods to load project from json object.