Refactor code so that adding/updating meetings JSON is generated in the model.