If our plugin json is returned text/html, let's detect it and convert it