Added Python 3 support, switched to requests-provided JSON parser