change lxml usage per deprecation warning