Using RestXQ in all api queries

@fcavalieri I assume that it is typed as `string` because https://github.com/28msec/28.io/pull/149 is not release yet?