What about non-string values?

```javascript
> $('<p data-foo="true" data-bar="42">').data()
{foo: true, bar: 42}
```