wrong format in response

The response format is wrong when getting errors.
```
$ curl localhost:7000 -X POST
{"error":"[{<<\"error\">>,<<\"not_allowed\">>}]","Allow":"GET,HEAD"}
```