One change. details is always an array, on every error response, not only on validation errors. The rest captures what I want.