BioCalc: i made some refactoring in BioCalcPageData and i implemented the toJson and fromJson methods.