'Convert to a json-serializable representation.
Returns:
dict: A dict representation that is json-serializable.'

def to_json(self):

    serialized = super(StudioValidation, self).to_json()
    if self.summary:
        serialized['summary'] = self.summary.to_json()
    return serialized
