folding in dbus.c
collapse reduce/next into container_open/close