Added useXML parameter

Added returning raw XML as an option