AccessToken#to_json - application can be blank

Method #to_json on AccessToken should work when application is not
present.