Allow users to set responseType for XHR requests