Handling nil attributes in response xml