Support for JSON responses from the OAuth provider