def deserialize_or_fallback(value: str) -> Union[Any, str]:
    """
    Deserialize a JSON string back to its original Python data type, falling
    back to the original string if deserialization fails.
    """
    try:
        # Attempt to deserialize the joined parts
        return json.loads(value)
    except ValueError:
        # Fallback to the concatenated string if deserialization fails
        return value

    Deserialize a JSON string back to its original Python data type, falling
    back to the original string if deserialization fails.
    
llama-index-utils/llama-index-utils-azure/llama_index/utils/azure/table.py