Support httr OAuth 2.0 authentication and changes to JSON to R conversion