auto convert access token to JSON