from typing import Dict
from typing import Any


def to_dict(request_response) -> Dict[str, Any]:
    """Wrap up request_response to user-friendly dict."""
    return {**request_response.json(), "status_code": request_response.status_code}