Bugfix: JSON state output was missing a comma