def METHOD_NAME(
    variables: List[dict], merged_data: dict
) -> Dict[str, JSONObject]:
    if not variables:
        return {}
    # normalize object into dataclasses
    variables = [
        ComplexVariable.build(**variable)
        for variable in variables
        if variable["enabled"]
    ]
    evaluated = {
        variable.alias: variable.evaluate(merged_data) for variable in variables
    }
    return evaluated