import json


def safe_json_loads(data):
    """Safely load a JSON string into a dictionary

    Args:
        data (str): A JSON string

    Returns:
        dict: The loaded JSON string or empty dict
    """
    try:
        return json.loads(data)
    except ValueError:
        return {}