Fix json paths in version.py

I missed this in my PR -- it works locally because the `matlab/` directory is added to the path, but I tried installing from master with pip and it didn't work because the json functions weren't included. My bad!