Code throws with python3 https://github.com/ConsenSys/ethjsonrpc/blob/master/ethjsonrpc/utils.py#L19 should be: `if type(block) is str:`