We specifically decided not to do this. The data- attribute is only checked the first time, when there is no existing value in the data for that element, so it's not a performance hit. Also, a lot of data stored with a DOM element isn't meant to be serialized; automatically adding a bunch of data- attributes would clutter up any serialized HTML.