def _transform_session_persistence(persistence):
    """Transforms session persistence object

    :param persistence: the session persistence object
    :returns: dictionary of transformed session persistence values
    """
    return {'type': persistence.type, 'cookie_name': persistence.cookie_name}
