def source_adapter(obj, request):
    """
    Adapter for rendering a :class:`skosprovider.skos.Source` to json.

    :param skosprovider.skos.Source obj: The source to be rendered.
    :rtype: :class:`dict`
    """
    return {'citation': obj.citation, 'markup': obj.markup}
