Fix XML Marshal to work with gin.H