Support for python3 in server for IPython shell execution vizualization.

Decodes incoming string before passing it to json.loads.
Support for python3 in extension for IPython shell execution visualization.