format response error json