Fixed #43 - if able to parse as json then resp is return to callback as json, otherwise, just text
minified...