Fix json decoding on Python 3
Fix mock session for tests

HTTP body content is expected to be bytes, not unicode.
Merge pull request #71 from jonashaag/patch-1

Fix json decoding on Python 3 (thanks @jonashaag)