Python: consume xml from RestFul webservices