Adding XML printing from data hash