standardize json error messages via the json_api renderer.

Linked to #61