Add detailed validation failure error messages.

JSON API doc will be updated after this is merged.