Adding dictionary response with token for dataviz js.
Replacing with jsonified token response
Adding libz as required