I've created an extension that'll let you do it.  
https://github.com/jazonv/SafeCracker-Data-Attributes

*(Inspired by [this gist](https://gist.github.com/objectivehtml/2595553) by Objective HTML)*