StateMachineModel's 'state0' attribute should only have its id field included in JSON output