Whitespace fix (line endings).
Don't assume JSON response will always be a dict.