Dictionary deserializer for String keys
Added refresh token function