fix XHR response

extending Object and String was a bad idea