I think that question should be redirected to @cneves. This PR only simplify the HTTP response. I haven't been looking in the logic.