Adds the pretty json function to the application