Added UTF-8 encoding in datasources API and error messages in the SparQL endpoint