allow json errors through