patch template building to allow for hyphenated dataIndex