Fixed the JSON streaming to displays, now the states are correctly serialized