Export tsx does not remove '.' before adding '.json' in filename

Hello,

seems like a bug (fyi)

also the exported json contains 2 “id” fields, not sure which one is relevant, and what the other does

 "tiles":[
        {
         "id":0, <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ??????????
         "objectgroup":
            {
             "draworder":"index",
             "name":"",
             "objects":[
                    {
                     "height":16,
                     "id":2, <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ??????
                     "name":"",
                     "rotation":0,
                     "type":"",
                     "visible":true,
                     "width":16,
                     "x":0,
                     "y":0
                    }],
             "opacity":1,
             "type":"objectgroup",
             "visible":true,
             "x":0,
             "y":0
            }
        },