Using RestXQ in all api queries

@wcandillon No, I don't think it is a good idea to add the "hold till next 28.io release" tag as this branches touches all public queries and moreover refactors variable names which are redefined in inner scopes. Each time master is updated i need to manually check every query change to see if the changes did not break something.