Reformat errors to generate pretty JSON responses
Reformat errors to generate pretty JSON responses

BugzID: 11250

fkaempfer/couchdb,fkaempfer/couchdb,fkaempfer/couchdb,fkaempfer/couchdb,fkaempfer/couchdb,fkaempfer/couchdb