private void WriteCyclicTile(JsonWriter writer, CyclicTile tile)
 {
     writer
     .StartObject()
     .WriteProperty("tiletemplate", "cycle")
     .WriteProperty("tileid", tile.TileId, true)
     .WriteProperty("title", tile.FrontTitle, true)
     .WithWriter(w =>
     {
         int index = 1;
         foreach (var image in tile.Images.ToArray())
         {
             writer.WriteProperty(string.Format("cycleimage{0}", index++), image);
         }
     })
     .EndObject();
 }
 private void WriteCyclicTile(JsonWriter writer, CyclicTile tile)
 {
     writer
         .StartObject()
         .WriteProperty("tiletemplate", "cycle")
         .WriteProperty("tileid", tile.TileId, true)
         .WriteProperty("title", tile.FrontTitle, true)
         .WithWriter( w => 
             {
                 int index = 1;
                 foreach (var image in tile.Images.ToArray())
                 {
                     writer.WriteProperty(string.Format("cycleimage{0}", index++), image);
                 }
             })
         .EndObject();
 }