Fixed handling of form errors in JsonErrorResponse