dbus service: Encoding raw data