AID-22 Use Nokogiri instead of REXML and Net::HTTP instead of rest client.