add helper functions to StructuredOutputMachine
Merge pull request #1699 from hushell/develop

add helper functions to StructuredOutputMachine