work around github bug with malformed UTF-8 on some JSON responses