Hi,
Your event sheet is affected to your two layouts so may be it's the problem because your JSON global variable is set as "" when you load the Layout, so it will be "" when Layout2 is loaded.
You should try creating a new event sheet to have your global variable loaded only with your first layout.
Not sure i'm clear enough, let me know