accept {name: state_name, value: default_value} in state_machine initialze block