Why not use:

```python
return {
    'product': self.product,
    'quantity': self.quantity,
    'data': self.data
}
```

As it is it will break when `self.data` contains `product` or `quantity`.