Make the version test pass in travis.

It fails due to some module being more correct about generating JSON.