edited the json framework and elements to be able to save calendar as json