allow json as errors