Json marshalling error should be http.StatusInternalServerError