Added writing of project bean to json file.