Use a simple struct when reading and writing gdbus messages