remove unuseful "hasType" datatype property and replace with specific
properties