prettifying output for web