'Standardize and validate fields'

def clean(self):

    super(SAMLConfiguration, self).clean()
    self.org_info_str = clean_json(self.org_info_str, dict)
    self.other_config_str = clean_json(self.other_config_str, dict)
    self.private_key = self.private_key.replace('-----BEGIN    RSA    PRIVATE    KEY-----', '').replace('-----BEGIN    PRIVATE    KEY-----', '').replace('-----END    RSA    PRIVATE    KEY-----', '').replace('-----END    PRIVATE    KEY-----', '').strip()
    self.public_key = self.public_key.replace('-----BEGIN    CERTIFICATE-----', '').replace('-----END    CERTIFICATE-----', '').strip()
