There is also one advantage you gain by using strings above other data types: Interface flexibility.
Using strings, the interface to your statemachine can be queues, TCP and other protocols working string-based without the need to "morph" commands/requests to a specific data type.
Norbert