remove code duplication in dbus calls for miniclient