SES-1846 : Add fix for sparql xml and sparql json writers