I have to dash away for a bit but something like this should work. When I said you wanted a switch and change nodes I assumed each lamp came through in its own message. Since they are combined together then the structure needs to be slightly different. The inject node simulates your mqtt input and the debug nodes are the ui-switch nodes. Check that the debug nodes give you what you want before connecting to the switches. Don't forget to make sure pass through is cleared or will lock up node red in an infinite loop.
[{"id":"a2f90798.023d6","type":"inject","z":"bdd7be38.d3b55","name":"MQTT In Simulator","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"lamp1\": \"1\", \"lamp2\": \"0\"}","payloadType":"json","x":220,"y":2480,"wires":[["d26a8d85.a1d52","db4e8c44.c1ed5"]]},{"id":"5fc6ea56.c3521c","type":"debug","z":"bdd7be38.d3b55","name":"Lamp1 ui-switch","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":460,"y":2600,"wires":[]},{"id":"d26a8d85.a1d52","type":"change","z":"bdd7be38.d3b55","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"lamp1\": payload.lamp1}","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":440,"y":2480,"wires":[["e7ddc17c.5518c8"]]},{"id":"e7ddc17c.5518c8","type":"json","z":"bdd7be38.d3b55","name":"","property":"payload","action":"","pretty":false,"x":450,"y":2540,"wires":[["5fc6ea56.c3521c"]]},{"id":"db4e8c44.c1ed5","type":"change","z":"bdd7be38.d3b55","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"lamp2\": payload.lamp2}","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":360,"y":2660,"wires":[["25516e04.2af6ba"]]},{"id":"25516e04.2af6ba","type":"json","z":"bdd7be38.d3b55","name":"","property":"payload","action":"","pretty":false,"x":370,"y":2720,"wires":[["a6a80a6d.36a28"]]},{"id":"a6a80a6d.36a28","type":"debug","z":"bdd7be38.d3b55","name":"Lamp2 ui-switch","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":380,"y":2780,"wires":[]}]