Prevent fatal error if access token data is array

Fix #239, closes #240