Make kind a string in Tag.of_kind