Create or parse JWT tokens with Erlang