check for sane json response in spi export
troubleshoot curl