def debug(*args, **kwargs):
    """
    Just a simple example which shows the view's json_data.

    """
    view = kwargs.get('view', None)
    if view is None:
        return 'MACRO: Debug did not get a view'
    result = 'Object dictionary: {} '.format(view.json_data)
    return result
