Whitespace fix (line endings).
Don't assume JSON response will always be a dict.
Merge branch 'master' into dsuch-f-gh175-pubsub-rest-interface