Added function to pretty print json formatted log files