let case xml generator work with ints too