always keep type tag for relations
Merge pull request #31 from lonvia/missing-relation-type

always keep type tag for relations