Remove dependency on lxml