exporting struct fields on aggregate, command, and event