Chaning back to using plain string xml rather than nokogiri document element