Generate standardized JSON error responses compliant with RFC 7807 (Problem Details for HTTP APIs) and REST conventions with error schemas.