/rest/errors should return an object (fixes #695)
/rest/version should return JSON (fixes #694)
GET and POST /rest/ping as no-op (fixes #680)