Html, Json, and Xml assets: Fixed reporting of errors.