fixed single quote escaping of returned json