If you save the state of an object that is being used in a layout with several layers, then you change to another layout with the same number and name in the layers and create the same object and restore its status with JSON.
The layer is not restored, the object is positioned in layer 0, although you saved its state in JSON when the object was in layer 3.
It only works in the same layout, if you change the layout the error occurs with the layers.
Capx - Just observe what happens and you will see that when you switch to layout number 2 and the state of the tilemap object is restored using JSON, the tilemap object is created and it is positioned in layer 0 but it saved its state when it was in layer 2.
https://www.dropbox.com/s/ln8f6a2gm17f5jm/bugJSON.capx?dl=0
GIF in:
https://imgur.com/a/WaNHupf