action: add get_{type,mo}_str() accessors