Function getItemTemplateData now includes the item's data-attributes in template data

@grahamscott - please review