Fix as_json method since application is not required for access_token
Merge pull request #425 from simonbnrd/fix-access_token_issue

Fix as_json method since application is not required for access_token