TEIIDDES-2359 added check for response type to auto-set JSON ACCEPT value
 * added exception check and message dialog for case where JSON response type is defined in CP for an XML file.