Add data- attributes to the output object.

Trying to make the final object output a little bit more useful by
allowing the developer to define any data- attribute and have it added
to the final object.