Make sure last_state_change is initialized with json data.
Found by clang static analyzer.