tokens: --active doesn't work on json output

The --active flag of the token list command says:

    -a --active  List only the active tokens.

This is useful to remove non active/revoked tokens.

However, when the output is json, this flag is not taken into account.