some trials to get rid of toString/fromString differences in ActionResultDefinition