Parsing a malformed json seems to fail differently on different versions
of Python.