Add JSON support within data-* attributes

https://github.com/bugsnag/bugsnag-js/pull/52#issuecomment-47022078