Logging JSON responses for debugging purposes.