fix: change to json response returning for http exeptions

Merge request reports