MOMPLE
//Get your view model from js
var dto = @Html.Raw(Json.Encode(Model));
Crowded Caribou
//Get your view model from js
var dto = @Html.Raw(Json.Encode(Model));