add XML marshalling support for external transitions