from typing import Dict
from typing import Any


def convert_key_info_to_readable(key_info: Dict[str, Any]) -> Dict[str, Any]:
    """
    Convert key fields to be readable for the user.

    Args:
        key_info (Dict[str, Any]): key field of Key object.

    Returns:
        Dict[str, Any] : Readable key information.

    """
    key_fields = {'kid': 'key_id',
                  'kty': 'json_web_key_type',
                  'key_ops': 'key_operations',
                  'n': 'RSA_modulus',
                  'e': 'RSA_public_components',
                  }
    for key, value in key_fields.items():
        if key in key_info:
            key_info[value] = key_info.pop(key)

    return key_info