@staticmethod
def generateSaveModel(model=None):
    """
        generateSaveModel builds from the model file a format which could be serialized
        in json. this format will be used for storing model on file

        :param model:
        :return: save model format
        """
    modelDataForSave = list()
    for mPoint in model:
        sPoint = {'name': mPoint.mParam.name, 'path': mPoint.mParam.path,
            'number': mPoint.mParam.number, 'count': mPoint.mParam.count,
            'expTime': mPoint.iParam.expTime, 'binning': mPoint.iParam.
            binning, 'subFrame': mPoint.iParam.subFrame, 'fastReadout':
            mPoint.iParam.fastReadout, 'altitude': mPoint.point.altitude,
            'azimuth': mPoint.point.azimuth, 'raMJNow': mPoint.mData.
            raMJNow.hours, 'decMJNow': mPoint.mData.decMJNow.degrees,
            'raSJNow': mPoint.mData.raSJNow.hours, 'decSJNow': mPoint.mData
            .decSJNow.degrees, 'sidereal': mPoint.mData.sidereal.hours,
            'julian': mPoint.mData.julian.utc_iso(), 'pierside': mPoint.
            mData.pierside, 'errorRMS': mPoint.rData.errorRMS, 'errorRa':
            mPoint.rData.errorRA, 'errorDEC': mPoint.rData.errorDEC}
        modelDataForSave.append(sPoint)
    return modelDataForSave
