replace regex with python's json module
Merge branch 'master' of https://github.com/abroby/bittorphile