remove depedency on http for token.json