add ability to view log bodies as pretty json