Adding indentation to traces