standardize json error messages via the json_api renderer.

Linked to #61
I'll have a crack at it.