Remove defaults from xml file