Allow for DOM data attributes and custom formatting when rendering