beautify debug output