Add @type: @vocab compaction round-tripping test