void LoadStreamToEditor()
 {
     for (int i = 0; i < viewModel.ModelList.Count(); i++)
     {
         if (SerializedTemplate.Name == viewModel.ModelList[i].ImageName)
         {
             using (StreamReader sr = new StreamReader(assets.Open(viewModel.ModelList[i].Imagestream)))
             {
                 content = sr.ReadToEnd();
                 byte[]       byteArray = Encoding.ASCII.GetBytes(content);
                 MemoryStream stream    = new MemoryStream(byteArray);
                 editor.LoadAsJson(stream);
                 viewModel.ModelList[i].Strm = stream;
             }
         }
     }
 }