workaround for JSON parse failures