Safely parse JSON response with detailed error handling.
Handles regular JSON responses and detects SSE format (which usually indicates a configuration issue where streaming was enabled unexpectedly).
safe_parse_json_response(
response: Any,
operation: str,
logger_instance: Optional[logging.Logger] = None
) -> Dict[str, Any]