jwt.encode throws exception due to datetime not serializable
jwt.encode throws exception due to datetime not serializable