Using RestXQ in all api queries

@fcavalieri I'm sorry the message above was confusing. I meant: keep the PR as is, make another PR with the boolean change that will be ready sometime in the future.