Improve parsing and writing of integration strategy