'Ensures configuration field contains valid JSON.'

def clean(self):

    try:
        json.loads(self.configuration)
    except ValueError:
        raise ValidationError('Must    be    valid    JSON    string.')
