stringify data attributes