bug fix: confused getResponseType with getResponseFormat