Fixing noob express error returning json response.