use data-type instead of class for types
forgot to convert list from class to data-type
Merge pull request #318 from Connexions/use-data-type

Use data-type attribute instead of class for types of elements