Updated liveresource.js to use JsonFormatter (new wsh api)