from typing import Any


def format_item(item_to_format: Any) -> Any:
    """
        Format the given item to the correct format.

    Args:
        item_to_format (Any): Item to format.

    Returns:
        Any: Formatted item.
    """
    mapper = {
        'FALSE': False,
        'TRUE': True,
        'NULL': None,
    }
    return mapper[item_to_format] if item_to_format in mapper else item_to_format