JSON ChemSpider client: added more error logging