Create JWT tokens from a JSON payload and secret key.
Generate JWT tokens from a JSON payload and secret key for testing.