fix issue relation creation by requesting json instead of jscript