Handle nested schema when quoting error message