FirebaseInstanceId.getInstance().getToken() returns JSON object instead of token string
<p>Sometimes when I call <code>FirebaseInstanceId.getInstance().getToken()</code>, it returns the correct String token, but other times it returns a JSON string with a <code>token</code>, <code>appVersion</code>, and <code>timestamp</code> inside it's structure. </p>

<p>Anyone is having the same problem?</p>