add a typ property indicating the intention of the JWT

r? @shane-tomlinson