Decodes payload of JWT token
A string representing a token to be decoded
Error - Throws error when token is invalid or payload malformed.
Decodes payload of JWT token