fix wrong release path, tested Maven release ok.
adds json return answer in case of technical error