Handle request for json for an external request. Closes #973.