XHR redirect urls returned as JSON body.
Merge pull request #15 from JoeChapman/bugfix/xhr-redirects

XHR redirect urls returned as JSON body.