Fixing bug on empty node and on saving programs
deviceState and getJSONDescription
really saving programJSON even when updating