# Test with nested data
test_nested = {
    "user": {
        "email": "user@example.com",
        "phone": "555-987-6543",
        "notes": "Called regarding john@company.com"
    }
}
anonymized_nested = anonymizer.anonymize(test_nested)
print(anonymized_nested)
```