I'm aware that I'm using the deprecated xhr component here. I decided that it made more sense to match what dojo/store/JsonRest was using. When it is updated to use dojo/request, this can be updated as well to keep them consistent.