Strange .Add behaviour in new JSON implementation

Make sure you declare lights as an array:

New JSONItem("[]")