Some improvements that allow me to quickly convert REQUEST name value pairs to xquery strings so i can pass them to the REST api