Copied from https://github.com/auth0/jwt-decode
