beautify console output