Removed overwriting response code by JSON